/*
 * route.js
 * 全局路由配置
 */

import layout from '../components/Layout'
// import shoeLayout from '../components/news/shoe/Layout'
import mallLayout from '../components/mall/Layout'
import userLayout from '../components/user/Layout'
import orderLayout from '../components/order/Layout'
// import distributionLayout from '../components/distribution/Layout'
// import qzoneBox from '../components/Qzone'
// import frame from '../components/Frame'

/* webpackChunkName: "base" */

const home = () => import('../views/mall/Home'), // import('../components/Home'),
  // qhome = () => import('../components/HomeQzone'),
  mallHome = () => import('../components/mall/Home'),
  // newsHome = () => import('../components/news/Home'),

  // shoeList = () => import('../components/news/shoe/List'),
  // shoeSales = () => import('../components/news/shoe/Sales'),
  // shoeDetail = () => import('../components/news/shoe/Detail'),
  // shoeSearch = () => import('../components/news/shoe/Search'),
  // brand = () => import('../components/news/brand/BrandList'),
  // brandInfo = () => import('../components/news/brand/BrandInfo'),
  // brandDetail = () => import('../components/news/brand/BrandDetail'),

  // picrRecomd = () => import('../components/news/article/PicrRecomd'),
  // search = () => import('../components/Search'),
  // newSearch = () => import('../components/news/newSearch'),
  launch = () => import('../components/Launch'),

  shopHome = () => import('../components/mall/shop/Home'),
  // category = () => import('../components/mall/Category'),
  // couponList = () => import('../components/mall/Coupon'),
  NewCoupon = () => import('../components/mall/NewCoupon'),
  ghost = () => import('../components/mall/Ghost'),
  brandHome = () => import('../components/mall/Brand'),
  productDetail = () => import('../components/mall/ProductDetail'),
  // shopDetail = () => import('../components/mall/shop/ShopDetail'),
  shopDetail = () => import('../components/mall/shop/Detail'),
  shopInfo = () => import('../components/mall/shop/Info'),
  shopLicense = () => import('../components/mall/shop/License'),
  // shopProduct = () => import('../components/mall/shop/ShopProduct'),
  shopSummary = () => import('../components/mall/shop/ShopSummary'),
  // limit = () => import('../components/mall/Limit'),
  discount = () => import('../components/mall/Discount'),
  active = () => import('../components/Active'),
  // shopFilter = () => import('../components/mall/shopFilter'),
  productSearch = () => import('../components/mall/ProductSearch'),
  shopNotice = () => import('../components/templates/ShopNotice'),
  ProductSimil = () => import('../components/mall/ProductSimil'),//相似
  // GhostProList
  // GhostProList = () => import('../components/mall/GhostProList'),
  // articleDetail = () => import('../components/news/article/NewsArticleDetail'),
  // abouts = () => import('../components/about/abouts'),
  privacy = () => import('../components/about/Privacy'),
  coupon = () => import('../components/about/Coupon'),
  // slas = () => import('../components/about/slas'),
  // sneakIndex = () => import('../components/sneaker/Index'),
  // sneakHome = () => import('../components/sneaker/Home'),
  traceabilityHome = () => import('../components/verify/home'),
  traceabilityDetail = () => import('../components/verify/detail'),
  // sneakSex = () => import('../components/sneaker/SneakerSex'),
  sneakCategory = () => import('../components/sneaker/Category'),
  sneakSearch = () => import('../components/sneaker/Search'),
  sneakerIdentify = () => import('../components/sneaker/SneakerIdentify'),
  // sneakSeries = () => import('../components/sneaker/SneakerSeries'),
  // sneakerDetail = () => import('../components/sneaker/SneakerDetail'),
  sneakDetail = () => import('../components/sneaker/Detail'),
  sneakSell = () => import('../components/sneaker/Sell'),
  sneakMore = () => import('../components/sneaker/More'),
  sneakNewProd = () => import('../components/sneaker/NewProduct'),
  sneakNewCheck = () => import('../components/sneaker/NewCheck'),
  ShoeHotSale = () => import('../components/sneaker/SneakerHotSale'),
  SneakerPayResult = () => import('../components/sneaker/PayResult'),
  Customization = () => import('../components/sneaker/Customization'),//客制周边
  SneakerWxpay = () => import('../components/sneaker/Wxpay'),
  supremeHome = () => import("../components/supreme/Home"),
  supremeSale = () => import("../components/supreme/Sale"),
  supremeClassify = () => import("../components/supreme/Classify"),
  lookbook = () => import("../components/supreme/LookBook"),
  classifyList = () => import("../components/supreme/ClassifyList"),
  supremeDetail = () => import("../components/supreme/SupremeDetail"),
  activityDetail = () => import("../components/mall/ActivityDetail"),
  login = () => import('../components/Login'),
  cart = () => import('../components/cart/Cart'),
  country = () => import('../components/Country'),

  userHome = () => import('../components/user/Home'),
  userAccount = () => import('../components/user/Account'),
  userOrder = () => import('../components/user/Order'),
  userCollection = () => import('../components/user/Collection'),
  userCoupon = () => import('../components/user/Coupon'),
  userCouponhistory = () => import('../components/user/CouponHistory'),
  userAbout = () => import('../components/about/UserAbout'),
  userSlas = () => import('../components/about/Slas'),
  userAboutus = () => import('../components/about/Abouts'),
  userSet = () => import('../components/user/UserSet'),
  addUserInfo = () => import('../components/user/UserAddInfo'),
  uesrSex = () => import('../components/user/Sex'),//注册绑定性别
  // uesrHobby = () => import('../components/user/Hobby'),//爱好
  userAddress = () => import('../components/user/Address'),
  editAddress = () => import('../components/user/EditAddress'),
  feedback = () => import('../components/user/Feedback'),

  orderDetl = () => import('../components/order/Detail'),
  orderTrack = () => import('../components/order/Track'),
  orderCheck = () => import('../components/order/Check'),
  orderNewCheck = () => import('../components/order/newCheck'),
  orderExpress = () => import('../components/order/ExpressList'),
  pay = () => import('../components/pay/Pay'),
  SneakerPay = () => import('../components/sneaker/Pay'),
  payJump = () => import('../components/pay/WxJump'),
  payFail = () => import('../components/pay/PayUnit'),
  paySuccess = () => import('../components/pay/PayUnit'),
  wxlogin = () => import('../components/WxLogin'),
  honeyHome = () => import('../components/honey/Home'),
  orderServiceTemp = () => import('../components/order/service/Temp'),
  orderServiceAdd = () => import('../components/order/service/Add'),
  orderServiceInfo = () => import('../components/order/service/Info'),
  orderAfterSaleTemp = () => import('../components/order/AfterSale/Temp'),
  orderAfterSaleAdd = () => import('../components/order/AfterSale/Add'),
  orderAfterSaleInfo = () => import('../components/order/AfterSale/Info'),
  groupList = () => import('../components/group/GroupList'),
  groupDetail = () => import('../components/group/GroupDetail'),
  shareGroup = () => import('../components/group/ShareGroup'),
  orderGroup = () => import('../components/group/OrderGroup'),
  // distribution = () => import('../components/distribution/DistributionCenter'),
  // distributionDetailed = () => import('../components/distribution/DistributionDetailed'),
  // distributionOrdersDetailed = () => import('../components/distribution/OrdersDetailed'),
  // distributionComment = () => import('../components/distribution/AllComment'),
  // distributionApply = () => import('../components/distribution/Apply'),
  // distributionCheckphone = () => import('../components/distribution/Checkphone'),
  // distributionProduct = () => import('../components/distribution/Product'),
  // distributionSuccess = () => import('../components/distribution/Success'),
  // distributionHelp = () => import('../components/distribution/Help'),
  // myCommodity = () => import('../components/distribution/MyCommodity'),
  // myDistributor = () => import('../components/distribution/MyDistributor'),
  // MyDistribution = () => import('../components/distribution/MyDistribution'),

  // qzoneDebug = () => import('../components/QzoneDebug'),
  helphome = () => import('../components/helpbargain/helphome.vue'),
  helpList = () => import('../components/helpbargain/helpList.vue'),
  helporder = () => import('../components/helpbargain/helporder.vue'),
  helpdetail = () => import('../components/helpbargain/helpdetail'),

  shopinto = () => import('../components/sc2c/shopinto/shopindex'),
  autheninfo = () => import('../components/sc2c/shopinto/autheninfo'),
  shoppay = () => import('../components/sc2c/shopinto/shoppay'),
  shopcenter = () => import('../components/sc2c/shoporder/shopcenter'),
  shoporderlist = () => import('../components/sc2c/shoporder/shoporderlist'),
  sellingdetail = () => import('../components/sc2c/shoporder/sellingdetail'),
  shoporderdetail = () => import('../components/sc2c/shoporder/shoporderdetail'),
  logistics = () => import('../components/sc2c/shoporder/logistics'),
  deduct = () => import('../components/sc2c/shoporder/deduct'),
  // shoppaysuccess = () => import('../components/sc2c/shoporder/shoppaysuccess'),
  businessinfo = () => import('../components/sc2c/shoporder/businessinfo'),
  // shoppayfaill = () => import('../components/sc2c/shoporder/shoppayfaill'),
  // shopwxjump = () => import('../components/sc2c/shoporder/shopwxjump'),
  returnaddress = () => import('../components/sc2c/shoporder/returnaddress'),
  // autheninfocode = () => import('../components/sc2c/shopinto/autheninfocode'),
  // autheninfofail = () => import('../components/sc2c/shopinto/autheninfofail'),
  getout = () => import('../components/sc2c/shoporder/getout'),
  editbackaddress = () => import('../components/sc2c/shoporder/editbackaddress'),
  buyerdetail = () => import('../components/sc2c/shoporder/buyerdetail'),
  buyerSellKnow = () => import('../components/sc2c/shoporder/buyerSellKnow'),
  payTest = () => import('../components/pay/Test'),
  applyAddProduct = () => import('../components/sc2c/shoporder/applyAddProduct'),
  allproductbrand = () => import('../components/sc2c/shoporder/allproductbrand'),

  newGift = () => import('../components/redPacket/newGift'),
  // 抽奖
  examine = () => import('../components/drawLottery/examine'),
  lookRule = () => import('../components/drawLottery/lookRule'),
  lottery = () => import('../components/drawLottery/lottery'),
  // shareLottery = () => import('../components/drawLottery/shareLottery'),
  getPrize = () => import('../components/drawLottery/getPrize'),
  lookRuleDetail = () => import('../components/drawLottery/lookRuleDetail'),
  appShare = () => import('../components/drawLottery/appShare'),

  //B2CMALL改版
  mallLimit = () => import('../views/mall/Limit'),
  mallCategory = () => import('../views/mall/Category'),
  // filterpro = () => import('../comps/FilterProduct'),
  nesearch = () => import('../views/search/Search'),
  searchresults = () => import('../views/search/Results'),
  Presale = () => import('../views/sneaker/Presale'),
  HotSale = () => import('../views/sneaker/HotSale'),

  //年货节
  // Main20190128 = () => import('../views/newyear/MainVenue'),
  // Sub20190128 = () => import('../views/newyear/SubVenue'),
  // Mall20190128 = () => import('../views/newyear/Mall'),
  // RainModel20190128 = () => import('../comps/RainModel'),
  // 拼团分享承接页
  ShareAssemble = () => import('../components/shareUndertake/assemble'),
  // 在线鉴定分享承接页
  ShareOnline = () => import('../components/shareUndertake/onlineidentify'),

  // ClearShoppingCartRule = () => import('../views/activities/clearShoppingCart/Rule'),
  // ClearShoppingCartInfo = () => import('../views/activities/clearShoppingCart/Info'),
  // ClearShoppingCartLottery = () => import('../views/activities/clearShoppingCart/LotteryResult'),
  // ClearShoppingCartResult = () => import('../views/activities/clearShoppingCart/Result'),

  //代古拉K专题
  // DaiGuLaKHome = () => import('../views/activities/dglk/home'),
  // DaiGuLaKVdo = () => import('../views/activities/dglk/vdo'),

  // LuckyCoinHome = () => import('../views/luckycoin/home'),
  // LuckyCoinShare = () => import('../views/luckycoin/share'),
  // Identify = () => import('../views/luckycoin/Identify'),
  // Guide = () => import('../views/luckycoin/guide'),

  NewSneaker = () => import('../views/sneaker/mall'),
  BrandRec = () => import('../views/mall/BrandRec'),
  ShopColl = () => import('../views/mall/ShopColl'),
  ShopRec = () => import('../views/mall/ShopRec'),

  raspHappy = () => import('../views/rasp/raspHappy'),

  // Ballot = () => import('../views/kusoballot/Ballot'),

  // WxCode = () => import('../views/wxhelp/WxCode'),

  CategoryMall = () => import('../views/c2c/categoryMall.vue'),
  CategoryMore = () => import('../views/c2c/categoryMore.vue'),
  userGuide = () => import('../views/activities/userGuide'),
  proDetialShare = () => import('../views/bull/proDetialShare'),
  platformActive = () => import('../views/activities/bigPromotion/main'), //大促活动
  subplace= () => import('../views/activities/bigPromotion/subplace'), //大促活动
  downApp = () => import('../views/downApp/downApp'), //引导下载APP--PC端
  loadApp = () => import('../views/downApp/loadApp'), //引导下载APP--H5端

  sneakerticketDetail = () => import('../views/bull/sneakerticket/detail'), //球鞋券抽签
  TicketResult = () => import('../views/bull/sneakerticket/result.vue'), //球鞋券抽签
  riskAsse = () => import('../components/about/riskAsse'), //球鞋券抽签
  presaledesc = () => import('../components/about/presaledesc'), //预售券说明书
  
  nouse = null//这行别动,用来占位,在上面新加,新加行要加尾逗号 autheninfocode editbackaddress buyerdetail

let routes = [
  {
    path: '/', component: layout, children: [
      { path: '/', name: 'home', component: home, meta: { tab: 'MENU_HOME', isbindHobby: 'BIND_HOBBY' } },// , shell: 'waiting-home'
      { path: 'home', redirect: '/' },// , shell: 'waiting-home'
      {
        path: 'mall', component: mallLayout, children: [
          // { path: '', component: mallHome, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_HOME' } },
          { path: '', redirect: '/' },
          { path: 'brand', component: brandHome, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_BRAND' } },
          { path: 'shop', component: shopHome, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_SHOP' } },
          { path: 'ghost', component: ghost, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_GMALL' } },
          // { path: 'limit', component: limit, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_LIMIT' } },
          { path: 'discount', component: discount, meta: { tab: 'MENU_MALL', b2cTab: 'B2C_DISCOUNT' } },
        ]
      },
      // { path: 'GhostProList', component: GhostProList, meta: { hideMenu: true } },
      // { path: 'category', component: category, meta: { hideMenu: true } },
      { path: 'category', name: 'mallCategory', component: mallCategory, meta: { tab: 'MENU_CATE' } },
      // { path: 'coupon', component: couponList, meta: { hideMenu: true } },
      { path: 'coupon', component: NewCoupon, meta: { hideMenu: true } },
      { path: 'shop/shopdetail/:id', component: shopDetail, meta: { hideMenu: true } },
      { path: 'shop/info/:id', component: shopInfo, meta: { hideMenu: true } },
      { path: 'shop/license/:url', component: shopLicense, meta: { hideMenu: true } },
      { path: 'ProductSimil/:id', component: ProductSimil, name: 'ProductSimil', meta: { hideMenu: true } },
      { path: 'shop/shopsummary', component: shopSummary, meta: { hideMenu: true } },
      { path: 'productDetail/:id?', name: 'product-detail', component: productDetail, meta: { hideMenu: true, shell: 'waiting-product' } },
      // { path: 'news', component: newsHome, name: 'newsShow', meta: { tab: 'MENU_NEWS' } },
      // { path: 'news/:id', component: newsHome, meta: { tab: 'MENU_NEWS' } },
      // { path: 'news/detail/:id', name: 'article-detail', component: articleDetail, meta: { hideMenu: true } },
      // { path: 'news/picrecomd/:id?', name: 'newsPicsPage', component: picrRecomd, meta: { hideMenu: true } },
      // {
      //   path: 'shoe', component: shoeLayout, children: [
      //     { path: '', component: shoeList, meta: { tab: 'MENU_NEWS' } },
      //     { path: 'sales', component: shoeSales, meta: { tab: 'MENU_NEWS' } },
      //   ]
      // },
      // 助力砍价
      {
        path: 'helpbargain', component: helphome, children: [
          { path: '', name: 'cutbargain', component: helpList, meta: { hideMenu: true, title: '助力享低价' } },
          { path: 'helporder', component: helporder, meta: { hideMenu: true, title: '助力享低价' } },
        ]
      },
      { path: 'helpbargain/helpdetail/:id', component: helpdetail, meta: { hideMenu: true, title: '助力享低价' } },
      // 球鞋c2c
      { path: 'shopinto', name: 'shopinto', component: shopinto, meta: { hideMenu: true } },
      { path: 'autheninfo', name: 'autheninfo', component: autheninfo, meta: { hideMenu: true } },
      { path: 'shoppay', name: 'shoppay', component: shoppay, meta: { hideMenu: true } },
      { path: 'shopcenter', name: 'shopcenter', component: shopcenter, meta: { hideMenu: true } },
      { path: 'shoporderlist/:per', name: 'shoporderlist', component: shoporderlist, meta: { hideMenu: true } },
      { path: 'sellingdetail/', name: 'sellingdetail', component: sellingdetail, meta: { hideMenu: true } },
      { path: 'shoporderdetail/:id', name: 'shoporderdetail', component: shoporderdetail, meta: { hideMenu: true } },
      { path: 'deduct', name: 'deduct', component: deduct, meta: { hideMenu: true } },
      { path: 'businessinfo', name: 'businessinfo', component: businessinfo, meta: { hideMenu: true } },
      { path: 'returnaddress', name: 'returnaddress', component: returnaddress, meta: { hideMenu: true } },
      // { path: 'autheninfofail', name: 'autheninfofail', component: autheninfofail, meta: { hideMenu: true } },
      // { path: 'autheninfocode', name: 'autheninfocode', component: autheninfocode, meta: { hideMenu: true } },
      { path: 'getout', name: 'getout', component: getout, meta: { hideMenu: true } },
      { path: 'editbackaddress', name: 'editbackaddress', component: editbackaddress, meta: { hideMenu: true } },
      { path: 'buyerSellKnow', name: 'buyerSellKnow', component: buyerSellKnow, meta: { hideMenu: true } },
      { path: 'buyerdetail/:id', name: 'buyerdetail', component: buyerdetail, meta: { hideMenu: true } },
      //查看物流 // deduct  查看激励  autheninfofail editbackaddress buyerdetail
      { path: 'logistics/:orderno/:role', name: 'logistics', component: logistics, meta: { hideMenu: true } },

      { path: 'applyAddProduct', name: 'applyAddProduct', component: applyAddProduct, meta: { hideMenu: true } },
      { path: 'allproductbrand', name: 'allproductbrand', component: allproductbrand, meta: { hideMenu: true } },


      //抽奖 lookRuleDetail
      { path: 'drawLottery/examine', name: 'examine', component: examine, meta: { hideMenu: true, title: '规则明细' } },
      { path: 'drawLottery/lookRule', name: 'lookRule', component: lookRule, meta: { hideMenu: true, title: '查看往期' } },
      { path: 'drawLottery/lookRuleDetail/:id', name: 'lookRuleDetail', component: lookRuleDetail, meta: { hideMenu: true, title: '查看详情' } },
      { path: 'drawLottery/lottery', name: 'lottery', component: lottery, meta: { hideMenu: true, title: '限时抽奖' } },
      // { path: 'drawLottery/shareLottery', name: 'shareLottery', component: shareLottery, meta: { hideMenu: true } },
      { path: 'drawLottery/getPrize/:id', name: 'getPrize', component: getPrize, meta: { hideMenu: true, title: '领取奖品' } },
      { path: 'drawLottery/appShare', name: 'appShare', component: appShare, meta: { hideMenu: true, title: '限时抽奖' } },

      { path: 'groupbuy/list', component: groupList, meta: { hideMenu: true } },
      { path: 'groupbuy/detail/:id', component: groupDetail, meta: { hideMenu: true, requireAuth: true } },
      { path: 'groupbuy/share/:id', component: shareGroup, meta: { hideMenu: true } },
      { path: 'groupbuy/order', component: orderGroup, meta: { hideMenu: true, requireAuth: true } },
      // { path: 'shoe/detail/:id&:type', component: shoeDetail, meta: { hideMenu: true } },
      // { path: 'shoe/search/:key', component: shoeSearch, meta: { hideMenu: true } },
      // { path: 'brand', component: brand, name: 'brandstore', meta: { hideMenu: true } },
      // { path: 'brandInfo/:id?', component: brandInfo, meta: { hideMenu: true } },
      // { path: 'brandDetail/:id?', component: brandDetail, meta: { hideMenu: true } },
      // { path: 'search/:type', component: search, meta: { hideMenu: true } },
      // { path: 'news/search/:key', component: newSearch, meta: { hideMenu: true } },
      // { path: 'shopFilter/:type', component: shopFilter, meta: { hideMenu: true } },
      { path: 'mall/Search/:key?', component: productSearch, meta: { hideMenu: true } },
      // { path: '/sneaker', component: sneakIndex, meta: { tab: 'MENU_SNEAK' } },
      // { path: '/sneaker/home', component: sneakHome, meta: { tab: 'MENU_SNEAK' } },
      { path: '/sneaker/mall', name: 'NewSneaker', component: NewSneaker, meta: { tab: 'MENU_SNEAK' } },
      // { path: '/sneakerSex/:sexid/:brandid', component: sneakSex, meta: { tab: 'MENU_SNEAK' } },
      { path: '/sneaker/category/:tabid', component: sneakCategory, meta: { hideMenu: true } },
      { path: '/sneaker/search/:key?', component: sneakSearch, meta: { hideMenu: true } },
      { path: '/sneaker/SneakerIdentify', component: sneakerIdentify, meta: { hideMenu: true, title: '鉴定秘籍' } },
      // { path: '/sneakerSeries/:catyname/:seriesid', component: sneakSeries, meta: { hideMenu: true } },
      // { path: '/sneakerDetail/:catyname&:shoeid', component: sneakerDetail, meta: { hideMenu: true } },
      { path: '/sneaker/detail/:id', component: sneakDetail, meta: { hideMenu: true } },
      { path: '/sneaker/NewCheck', component: sneakNewCheck, meta: { hideMenu: true } },
      { path: '/sneakerHotSale/:category?', component: ShoeHotSale, meta: { hideMenu: true } },
      { path: '/sneaker/sell/:selltype', component: sneakSell, meta: { hideMenu: true } },
      { path: '/sneaker/more/:id', component: sneakMore, meta: { hideMenu: true } },
      { path: '/sneaker/Customization', component: Customization, meta: { hideMenu: true } },  //客制周边
      { path: '/sneaker/newProduct', component: sneakNewProd, meta: { hideMenu: true } },
      { path: '/sneaker/pay/:orderId?', component: SneakerPay, meta: { hideMenu: true } },
      { path: '/sneaker/payResult/:orderId?', component: SneakerPayResult, meta: { hideMenu: true } },

      { path: '/sneaker/wxpay', component: SneakerWxpay, meta: { hideMenu: true } },
      // { path: '/sneaker/wxpay/:orderno', name: 'WxCode', component: WxCode, meta: { hideMenu: true } },

      { path: '/verify/:id', component: traceabilityHome, meta: { hideMenu: true } },
      { path: '/verify/detail/:id', component: traceabilityDetail, meta: { hideMenu: true } },

      {
        path: '/user', component: userLayout, redirect: { path: '/user/home' }, meta: { requireAuth: true, }, children: [
          { path: 'home', component: userHome, meta: { tab: 'MENU_YOU', requireAuth: true, } },
          { path: 'account', component: userAccount, meta: { requireAuth: true, hideMenu: true } },
          { path: 'order', component: userOrder, meta: { requireAuth: true, hideMenu: true } },
          { path: 'collection', component: userCollection, meta: { requireAuth: true, hideMenu: true } },
          { path: 'coupon', component: userCoupon, meta: { requireAuth: true, hideMenu: true, couponType: 0 } },//用户优惠券
          { path: 'couponhistory/:type', component: userCouponhistory, meta: { requireAuth: true, hideMenu: true } },
          { path: 'about', component: userAbout, meta: { requireAuth: true, hideMenu: true } },
          { path: 'address', component: userAddress, meta: { requireAuth: true, hideMenu: true } },
          { path: 'editAddress/:type', component: editAddress, meta: { requireAuth: true, hideMenu: true } },
          { path: 'feedback', component: feedback, meta: { requireAuth: true, hideMenu: true } },
          { path: 'honey', component: honeyHome, meta: { requireAuth: true, hideMenu: true } },
        ]
      },
      // {
      //   path: '/distribution', component: distributionLayout, meta: { hideMenu: true }, children: [
      //     { path: '/', component: distribution, meta: { hideMenu: true } },
      //     { path: 'detailed/:id?', component: distributionDetailed, meta: { hideMenu: true } },
      //     { path: 'comment/:id?', name: 'distributionComment', component: distributionComment, meta: { hideMenu: true } },
      //     { path: 'orderDetailed/:type', component: distributionOrdersDetailed, meta: { hideMenu: true } },
      //     { path: 'apply/:parentid?', component: distributionApply, meta: { hideMenu: true } },
      //     { path: 'checkphone/:parentid?', component: distributionCheckphone, meta: { hideMenu: true } },
      //     { path: 'product/:parentid?', component: distributionProduct, meta: { hideMenu: true } },
      //     { path: 'success', component: distributionSuccess, meta: { hideMenu: true } },
      //     { path: 'help', component: distributionHelp, meta: { hideMenu: true } },
      //     { path: 'myCommodity', component: myCommodity, meta: { hideMenu: true } },
      //     { path: 'myDistributor', component: myDistributor, meta: { hideMenu: true } },
      //     { path: 'MyDistribution', component: MyDistribution, meta: { hideMenu: true } },
      //   ]
      // },
      {
        path: '/order', component: orderLayout, children: [
          { path: 'detail/:id?', name: 'orderDetail', component: orderDetl, meta: { requireAuth: true, hideMenu: true } },
          { path: 'track/:id', component: orderTrack, meta: { requireAuth: true, hideMenu: true } },
          { path: 'express', component: orderExpress, meta: { requireAuth: true, hideMenu: true } },
          { path: 'coupon', component: userCoupon, meta: { requireAuth: true, hideMenu: true, couponType: 1 } },//订单优惠券选择
          { path: 'service/temp', component: orderServiceTemp, meta: { requireAuth: true, hideMenu: true } },
          { path: 'service/add', component: orderServiceAdd, meta: { requireAuth: true, hideMenu: true } },
          { path: 'service/info', component: orderServiceInfo, meta: { requireAuth: true, hideMenu: true } },
          { path: 'AfterSale/temp/:id', component: orderAfterSaleTemp, meta: { requireAuth: true, hideMenu: true } },
          { path: 'AfterSale/add', component: orderAfterSaleAdd, meta: { requireAuth: true, hideMenu: true } },
          { path: 'AfterSale/info/:id', component: orderAfterSaleInfo, meta: { requireAuth: true, hideMenu: true } },
        ]
      },
      // {
      //   path: '/honey', component: honeyLayout, meta:{ requireAuth: true,  hideMenu:true }, children:[
      //     // { path:'home', component: userHome, meta: { tab: 'MENU_YOU', requireAuth: true, hideMenu:true } },
      //   ]
      // },
      { path: '/cart', component: cart, meta: { tab: 'MENU_CART', requireAuth: true, } },
    ],
  },

  { path: '/sneaker/presale', name: 'Presale', component: Presale, meta: { title: '新品预售' } },
  { path: '/sneaker/hotsale', name: 'HotSale', component: HotSale, meta: {} },

  { path: '/redPacket/newGift', component: newGift, meta: { hideMenu: true } },

  { path: '/order/NewCheckout', component: orderNewCheck, meta: { requireAuth: true, hideMenu: true } },
  { path: '/order/checkout', component: orderCheck, meta: { requireAuth: true, hideMenu: true } },
  { path: '/sex', component: uesrSex, },
  // { path: '/uesrHobby', component: uesrHobby },
  { path: '/addUserInfo', component: addUserInfo },//都要绑定
  { path: '/launch', component: launch },
  { path: '/active/:id', name: 'custom-activity', component: active },

  { path: '/shoppingtips', component: shopNotice },
  { path: '/aboutus', component: userAboutus },
  { path: '/privacy', component: privacy },
  { path: '/slas', component: userSlas },
  { path: '/coupondescription', component: coupon },
  { path: '/lookbook/:id', name: 'lookbook', component: lookbook },
  {
    path: '/sales', component: supremeHome,
    children: [
      { path: 'sale/:id', name: 'sale', component: supremeSale },
      { path: 'category/:id', name: 'supremeClassify', component: supremeClassify },
    ]
  },
  { path: '/salesList/:name/:id', name: 'classifyList', component: classifyList },
  { path: '/BrandSpecialDetail/:id', component: supremeDetail },
  { path: '/platformActivity/:id', name: 'platform-activity', component: activityDetail },
  { path: '/login', component: login },
  // { path: '/cart', component: cart, meta: { tab: 'MENU_CART', requireAuth: true, } },
  // { path: '/about/slas', component: userSlas },
  // { path: '/about/abouts', component: userAboutus },
  { path: '/user/set/:type', component: userSet },
  { path: '/country', component: country },
  { path: '/pay/:orderId?', component: pay },
  { path: '/payjump/:orderId?', component: payJump },
  { path: '/payfail/:orderId?', name: 'payfail', component: payFail },
  { path: '/paysuccess/:orderId?', name: 'paysuccess', component: paySuccess },
  { path: '/wxlogin', component: wxlogin },

  // { path: '/qzone/:comps', component: qzoneBox },
  // { path: '/qhome', component: qhome, meta: { shell: 'waiting-home' } },
  // { path: '/qnews/:id', component: newsHome },

  // { path: '/frame/:path', component: frame },

  // { path: '/qzoneDebug', component: qzoneDebug },

  { path: '/payTest', component: payTest },
  // c2c扩品类
  { path: '/c2c/CategoryMall', name: 'CategoryMall', component: CategoryMall },
  { path: '/c2c/CategoryMore', name: 'CategoryMore', component: CategoryMore },

  //B2CMALL改版
  { path: '/limit', name: 'malllimit', component: mallLimit, meta: { hideMenu: true } },

  // { path: '/category', name: 'mallCategory', component:  mallCategory, meta: { hideMenu: true } },

  // { path: '/filterpro', name: 'filterpro', component: filterpro, meta: { hideMenu: true } },

  //年货节
  // { path: '/20190128/main', name: 'mainVenue', component: Main20190128, meta: { title: '斗牛春节不打烊' } },
  // { path: '/20190128/sub', name: 'subVenue', component: Sub20190128, meta: { title: '斗牛春节不打烊' } },
  // { path: '/20190128/mall', name: 'venueMall', component: Mall20190128, meta: { title: '斗牛春节不打烊' } },
  // { path: '/20190128/RainModel', name: 'RainModel', component: RainModel20190128, meta: { title: '斗牛春节不打烊' } },

  // 拼团活动分享承接页ShareAssemble
  { path: '/shareUndertake/assemble', component: ShareAssemble },
  // 在线鉴定分享承接页
  { path: '/shareUndertake/onlineidentify/:id?', component: ShareOnline },
  // 清空购物车活动
  // { path: '/cspc/rule', name: 'ClearShoppingCartRule', component: ClearShoppingCartRule, meta: { hideMenu: true } },
  // { path: '/cspc/info', name: 'ClearShoppingCartInfo', component: ClearShoppingCartInfo, meta: { hideMenu: true } },
  // { path: '/cspc/result', name: 'ClearShoppingCartResult', component: ClearShoppingCartResult, meta: { hideMenu: true } },
  // { path: '/lottery/draw', name: 'ClearShoppingCartLottery', component: ClearShoppingCartLottery, meta: { hideMenu: true } },

  { path: '/nesearch', name: 'nesearch', component: nesearch, meta: { hideMenu: true } },
  { path: '/results/:key', name: 'searchresults', component: searchresults, meta: { hideMenu: true } },
  { path: '/mall/BrandRec', name: 'BrandRec', component: BrandRec, meta: { hideMenu: true } },
  { path: '/mall/ShopColl/:id', name: 'ShopColl', component: ShopColl, meta: { hideMenu: true } },
  { path: '/mall/ShopRec', name: 'ShopRec', component: ShopRec, meta: { hideMenu: true } },

  //恶搞标签
  // { path: '/ballot', name: 'DNKRS', component: Ballot },

  //代古拉K专题
  // { path: '/dglk', name: 'dglkHome', component: DaiGuLaKHome, meta: { title: '抖音“毁舞王”代古拉K 送你猪年福利!' } },
  // { path: '/dglk/vdo', name: 'dglkVdo', component: DaiGuLaKVdo, meta: { title: '抖音“毁舞王”代古拉K 送你猪年福利!' } },

  // 瓜分红包
  // { path: '/luckycoin/home', name: 'luckyhome', component: LuckyCoinHome },
  // { path: '/luckycoin/share', name: 'luckyshare', component: LuckyCoinShare },
  // { path: '/luckycoin/identify', name: 'identify', component: Identify },
  // { path: '/luckycoin/guide', name: 'guide', component: Guide },

  {
    path: '/rasp/raspHappy', name: 'raspHappy', component: raspHappy, meta: {
      title: '每天10个限量商品免费送', bgcolor: "#E94C4E", textcolor: "#ffffff", showshoppingcarticon: false
    }
  },
  // { path: '/wxcode/:orderno?', name: 'WxCode', component: WxCode },
  //社区用户指南
  { path: '/user/guide', name: 'userGuide', component: userGuide, meta: { title: '抽签指南' } },
  {path:'/downApp',name: 'downApp', component: downApp, meta: { hideMenu: true ,title:'下载APP 体验更多功能',downApp:true}},
  {path:'/loadApp',name: 'loadApp', component: loadApp, meta: { hideMenu: true ,title:'下载APP 体验更多功能'}},
  { path: '/platform/activity', name: 'platformActive', component: platformActive, meta: { title: '大促活动' } },
  { path: '/platform/subplace', name: 'subplace', component: subplace, meta: { title: '大促活动' } },

  { path: '/sneakerticket/detail', name: 'sneakerticketDetail', component: sneakerticketDetail, meta: { title: '预售抢购' } },
  { path: '/sneakerticket/result', name: 'TicketResult', component: TicketResult, meta: {} },

  { path: '/bull/proDetialShare/:id', name: 'proDetialShare', component: proDetialShare },
  { path: '/about/riskAsse', name: 'riskAsse', component: riskAsse,meta:{title:'斗牛预售鞋券买卖服务协议'}}, // 风险评估
  { path: '/presale/desc', name: 'presaledesc', component: presaledesc,meta:{title:'斗牛预售鞋券说明'}}, // 风险评估
  
  // ↑↑↑ 此行上面增加路由
  { path: '*', redirect: '/' },

];
export default routes
